{if condition="!empty($list1) || !empty($list2)"}
{if condition="$list1"}
<div class="sign-list-box">
    <div class="item" id="item1">
        {foreach name="list1" id="v1"}
        <div class="sign-item">
            <div class="detail-jump" data-open-id="{$v1.user_id}">
                {if condition="$v1.audio_url"}
                <div class="music" data-url="{$v1.audio_url}">♪</div>
                {/if}
                <div class="sign-item-number-box">
                    {$v1.contestant_number}号
                    <div class="sign-item-number-box-jiao">&nbsp;</div>
                </div>
                <div class="sign-item-img-box">
                    {if condition="$v1.cover"}
                    <img src="{$v1.cover}@150w"/>
                    {else/}
                    <img src="{$v1.images[0]}@150w"/>
                    {/if}
                    <div class="clear"></div>
                </div>
                <div class="sign-item-text-box-1">
                    <div>{$v1.nickname}</div>
                    <div style="display: flex;"><span id="list1{$key}">{$v1.support}</span>朵<img src="{$path_source_prefix}/web/default/images/rose.png" style="width: 8px;height:16px;margin-left: 5px;"/></div>
                </div>
            </div>
            <div class="sign-item-btn-box">
                <div class="sign-item-btn color2 vote_btn" data-id="1{$key}" data-open-id="{$v1.user_id}">送{$number}朵</div>
            </div>
        </div>
        {/foreach}
    </div>
    {/if}
    {if condition="$list2"}
    <div class="item"  id="item2">
        {foreach name="list2" id="v2"}
        <div class="sign-item">
            <div class="detail-jump" data-open-id="{$v2.user_id}">
                {if condition="$v2.audio_url"}
                <div class="music" data-url="{$v2.audio_url}">♪</div>
                {/if}
                <div class="sign-item-number-box">
                    {$v2.contestant_number}号
                    <div class="sign-item-number-box-jiao">&nbsp;</div>
                </div>
                <div class="sign-item-img-box">
                    {if condition="$v2.cover"}
                    <img src="{$v2.cover}@150w"/>
                    {else/}
                    <img src="{$v2.images[0]}@150w"/>
                    {/if}
                    <div class="clear"></div>
                </div>
                <div class="sign-item-text-box-1">
                    <div>{$v2.nickname}</div>
                    <div style="display: flex;"><span id="list2{$key}">{$v2.support}</span>朵<img src="{$path_source_prefix}/web/default/images/rose.png" style="width: 8px;height:16px;margin-left: 5px;"/></div>
                </div>
            </div>
            <div class="sign-item-btn-box">
                <div class="sign-item-btn color2 vote_btn" data-id="2{$key}" data-open-id="{$v2.user_id}">送{$number}朵</div>
            </div>
        </div>
        {/foreach}
    </div>
</div>
{/if}
{/if}


